package com.my.chapter7;

public class practice19 {
    public static void main(String[] args) {
        BlankFinal b1 = new BlankFinal();
        BlankFinal b2 = new BlankFinal(3);
        System.out.println(b1.toString());
        System.out.println(b2.toString());
    }
}

class BlankFinal{
    private final int i;

    BlankFinal() {
        i = 6;
    }

    BlankFinal(int n){
        i=n;
    }

    @Override
    public String toString() {
        return "BlankFinal{" +
                "i=" + i +
                '}';
    }
}
